<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="index.css" />
    <!-- <script src="index.js" defer></script> -->
    <title>MessageBox</title>
  </head>
  <body>
    <script type="module">
      import hd from './index.js'
      //   import { MessageBox } from './index.js'
      hd.MessageBox({
        width: '600',
        success() {
          alert('success')
          this.hide()
        },
      })
      //   console.log(MessageBox)
    </script>
  </body>
</html>
